﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RayTracerLib.Materials
{
    public class Color
    {
        public double Red { get; set; }
        public double Green { get; set; }
        public double Blue { get; set; }
        public Color()
        {
            Red = Green = Blue = 0;
        }
        public Color(double red, double green, double blue)
        {
            Red = red;
            Green = green;
            Blue = blue;
        }
        public void Add(Color color)
        {
            Red += color.Red;
            Green+=color.Green;
            Blue+= color.Blue;
        }
        public void Add(double red, double green, double blue)
        {
            Red += red;
            Green += green;
            Blue += blue;
        }
    }
}
